home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Diamond Collection / The Diamond Collection (Software Vault)(Digital Impact).ISO / cdr44 / frasrc19.zip / CMPLX.H < prev    next >
C/C++ Source or Header  |  1994-11-08  |  604b  |  37 lines

  1. /* various complex number defs */
  2. #ifndef _CMPLX_DEFINED
  3. #define _CMPLX_DEFINED
  4.  
  5. #ifndef PORT_H
  6. #include "port.h"
  7. #endif
  8.  
  9. struct DHyperComplex {
  10.     double x,y;
  11.     double z,t;  
  12. };
  13.  
  14. struct LHyperComplex {
  15.     long x,y;
  16.     long z,t; 
  17. };
  18.  
  19. struct DComplex {
  20.     double x,y;
  21. };
  22.  
  23. struct LDComplex {
  24.     LDBL x,y;
  25. };
  26.  
  27. struct LComplex {
  28.     long x,y;
  29. };
  30.  
  31. typedef struct  DComplex         _CMPLX;
  32. typedef struct  LDComplex        _LDCMPLX;
  33. typedef struct  LComplex         _LCMPLX;
  34. typedef struct  DHyperComplex    _HCMPLX;
  35. typedef struct  LHyperComplex    _LHCMPLX;
  36. #endif
  37.